#定义司机
class Driver():
    def __init__(self):
       
        

    # @property
    # def driverName(self,driverName):
    #     return self.driverName
    
    # def 

    def run(self,driverName):
        print(driverName+Vehicle+Address)

#定义交通工具
class Vehicle():
    def __init__(self,vhicelName):
        self.vhicelName = vhicelName

    @property
    def vhicelName(self):
        return self.vhicelName 

    @vhicelName.setter
    def vhicelName(self,vhicelName):
        self.vhicelName = vhicelName
#地方
class Address():

    def __init__(self,addressName):
        self.addressName = addressName 
    
    #get
    @property
    def addressName(self):
        return self.addressName

    #set
    @addressName.setter
    def addressName(self,addressName):
        self.addressName = addressName



v = Vehicle()
v.vhicelName='兰博基尼'

a= Address()
a.addressName='东北'



d = Driver (v,a)

d.run()


